package com.ajun.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author lzj
 * @since 2025-01-09
 */
@Getter
@Setter
@TableName("tb_specification")
public class Specification implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    private String specName;

//删除后置为1
    @TableLogic
    private Integer deleted;
//     自动填充配置
//    @TableField(fill = FieldFill.INSERT)
//    private LocalDateTime createTime;
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private LocalDateTime updateTime;

}
